﻿using B.S.DataBase.MyProject.ErrorCode;
using MediatR;

namespace B.S.DataBase.MyWrite.API.Appicant.Command.UserCommand
{

    public class AddUserCommand : IRequest<APIResult<object>>
    {
        public int? UserId { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string? UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string NickName { get; set; }
        /// <summary>
        /// 性别 false 男 true 女
        /// </summary>
        public bool? Sex { get; set; }

        /// <summary>
        /// 省份id
        /// </summary>
        public int ProvinceId { get; set; }
        /// <summary>
        /// 市id
        /// </summary>
        public int CityId { get; set; }

        /// <summary>
        /// 县id
        /// </summary>
        public int CountyId { get; set; }

        /// <summary>
        /// 村详细地址
        /// </summary>
        public string? HamletName { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }


        /// <summary>
        /// 逻辑删除 false 未删  true 删除
        /// </summary>
        public bool? IsDel { get; set; }



    }
}
